package com.xjtu.platform.demander.toCsv.dao;

import com.xjtu.platform.demander.toCsv.csvDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ToCsvDao {

    @Select("select path,ans,is_valid,question_id,request_id from questions where request_id=#{request_id}")
    List<csvDto> listCsvDto(csvDto dto);
}
